package hcn.api.service.api.deptregistration;


import ctd.util.annotation.RpcService;
import hcn.protocol.ods.RegRecordBean;
import hcn.protocol.ods.RegistrationInfo;
import hcn.protocol.ods.RegplanAndSourceBean;

import java.util.List;

public interface RegistrationInterface {

    /**
     * 取消1份预约挂号信息给前置机
     * HCN->HIS
     *
     * @param regRecordBean
     */
    @RpcService
    void cancel(RegRecordBean regRecordBean);

    /**
     * 提交1条预约挂号患者信息
     * HCN->HIS
     *
     * @param registrationInfo
     * @return
     */
    @RpcService
    RegistrationInfo submit(RegistrationInfo registrationInfo);

   }

